<?php 
/*
+--------------------------------------------------------------------------
|   WeCenter [#免费开发#]
|   ========================================
|   by Jerry
|   http://www.5ihelp.com
|   ========================================
|   如果有兴趣可以加群{开发交流群} 485114585
|   ========================================
|   更改插件记得先备份，先备份，先备份，先备份
|   ========================================
+---------------------------------------------------------------------------
 */
namespace app\common\behavior;
use \think\Controller;
use \think\Request;
use \think\Session;
use \think\Cookie;
use \think\Hook;
class Power 
{
    public function run(&$params)
    {
        $this->checkSession();

    }
    private function checkSession(){
    	if(Session::get('thinkask_uid')){
    		// \think\Controller::assign('uid',Session::get('thinkask_uid'));
    	}else{
    		// $this->assign('uid',"0");
    	}
    }
}